let MyPlugin = {};

MyPlugin.install = function (Vue, options) {
  // console.log('调用');
  Vue.directive(options.name, (a, b) => {
    console.log(a, b);
  })
}

export default MyPlugin;
